import Vue from 'vue'
import App from './App'
// 引入vuex
import store from './store/index.js'
// 把vuex定义成全局组件
Vue.prototype.$store = store

//接口和网络
import API from './utils/api.js'
import Net from './utils/net.js'
Vue.prototype.$API = API
Vue.prototype.$Net = Net
//页面类型
import find from './pages/tabPage/find.vue'
Vue.component('find',find)

import home from './pages/tabPage/home.vue'
Vue.component('home',home)

import square from './pages/tabPage/square.vue'
Vue.component('square',square)

//帖子为主风格
import forumHome from './pages/tabPage/forumHome.vue'
Vue.component('forumHome',forumHome)

import allSection from './pages/tabPage/allSection.vue'
Vue.component('allSection',allSection)

import user from './pages/tabPage/user.vue'
Vue.component('user',user)
//通用

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	store,
    ...App
})
app.$mount()

 



